package com.hfut.service;

import java.util.List;
import com.hfut.model.Book;
import com.hfut.model.Message;
import com.hfut.model.RequestBook;
import com.hfut.model.User;

public interface UserService {
	
	public int login(User u);
	
	public boolean register(User u) ;
	
	public boolean newBook(Book b) ;
	
	public List<Book> findBook(String bookName) ;
	
	public boolean deleteBook(Book b) ;
	public boolean newMessage(Message m) ;
	public boolean newRequest(RequestBook b) ;

}
